<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>校易淘 - 购物车</title>
  <link rel="stylesheet" href="css/style.css">
  <script src="js/main.js" defer></script>
</head>
<body>
  <header>
    <h1>校易淘二手交易平台</h1>
    <nav>
      <a href="index.html">首页</a>
      <a href="cart.html">购物车</a>
      <a href="publish.html">发布商品</a>
      <a href="myitems.html">我的商品</a>
      <a href="orders.html">我的订单</a>
      <a href="login.html">登录</a>
      <a href="register.html">注册</a>
    </nav>
  </header>

  <div class="container">
    <h2 style="text-align:center; margin-bottom:20px;">购物车</h2>
    <table id="cart-table">
      <thead>
        <tr>
          <th>商品</th>
          <th>单价</th>
          <th>数量</th>
          <th>小计</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody></tbody>
    </table>
    <p id="total-price" style="text-align:right; margin-top:15px;">总价：0 元</p>
  </div>
</body>
</html>